/**
 * Created by wujian on 17/1/24.
 */

import React from 'react';
import classnames from 'classnames';

export default class view extends React.Component {
    static propTypes = {
        className: React.PropTypes.string,
    };

    constructor(props, context) {

        super(props, context);


        // init state;
        this.state = {

        };
    }
    componentWillMount() {
        this._isMounted = true;

    }

    componentDidMount() {

    }

    componentWillUnmount() {
        this._isMounted = false;
    }

    render() {
        const classNames = classnames({
            "orin-sw-relist-root": true,
            [this.props.className]: this.props.className ? true : false
        })
        return (
            <div className={ classNames } >
                <div className="orin-sw-relist-root-listitem">{this.props.children}</div>
            </div>
        );
    }
}
